﻿// 开发者:micropu
// 公司:佛山远钧智慧科技有限公司

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.NET.Application.Entity;

/// <summary>
/// 移动打卡序号记录
/// </summary>
[SugarTable("zj_CaiJiPhotosLogs", TableDescription = "移动打卡序号记录")]
public class CaiJiPhotosLogs : EntityTenantBaseData
{
    /// <summary>
    /// 人员编号
    /// </summary>
    [SugarColumn(ColumnDescription = "人员编号")]
    public long EmployeeId { get; set; }

    /// <summary>
    /// 所属人员
    /// </summary>
    [SugarColumn(IsIgnore = true)]
    [Navigate(NavigateType.OneToOne, nameof(EmployeeId))]
    public Employee Employee { get; set; }

    /// <summary>
    /// 衣服组
    /// </summary>
    [SugarColumn(ColumnDescription = "衣服组", DefaultValue = "0")]
    public int ClothesGroup { get; set; }

    /// <summary>
    /// 通行方向，1进，2出
    /// </summary>
    [SugarColumn(ColumnDescription = "通行方向，1进，2出", DefaultValue = "1")]
    public DirectionType Direction { get; set; }


    /// <summary>
    /// 打卡日期  //2023-09-20
    /// </summary>
    [SugarColumn(ColumnDescription = "打卡日期",Length = 50)]
    public string DKDate { get; set; }

    /// <summary>
    /// 图片ID
    /// </summary>
    [SugarColumn(ColumnDescription = "图片ID" )]
    public string PhotoId { get; set; }

}
